<template>
    <div class="box">
		<Title titleIcon="icon-laba">Notice</Title>
		<Textlist :list = "textlist"></Textlist>
		<Title titleIcon="icon-caigou">Potential Buyer</Title>
		<BrandList :list = "exhibitors"></BrandList>
	</div>
</template>
<script>
import Title from "./common/Title"
import Textlist from "./common/Textlist"
import BrandList from "./common/BrandList"
import axios from 'axios'
export default {
	data(){
		return{
			textlist:[],
			exhibitors:[]
		}
	},
    components:{
		Textlist,
		Title,
		BrandList
	},
	methods: {
		getServiceInfo(){
			axios.get('/api/service.json')
			.then(this.getServiceInfoSucc)
		},
		getServiceInfoSucc(res){
            res = res.data
            if(res.ret && res.data){
                var data = res.data
                this.textlist = data.textlist
                this.exhibitors = data.exhibitors
            }
        }
	},
	mounted () {
		this.getServiceInfo()
	}

}
</script>
<style>
.box {
  margin-bottom: 80px; }
</style>
